import request from '@/utils/request'

export function http_login_code(code) {
    return request({
        url: '/login/getUserByCode',
        method: 'get',
        params: {code}
    })
}

export function http_login_account(data) {
    return request({
        url: '/login/getAccount',
        method: 'post',
        data
    })
}
